package com.snailthink.controller;

import com.alibaba.fastjson.JSON;
import com.snailthink.pojo.OrmCustomerVO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

@RestController
@RequestMapping("/fastjson")
public class FastjsonController {

    @RequestMapping("t1")
    public String t1() {
        List<OrmCustomerVO> list = new ArrayList<OrmCustomerVO>();
        return JSON.toJSONString(list);
    }



}
